package com.example.child_protection.dto.request.find;

import com.example.child_protection.dto.base.BaseQueryRequestDTO;
import com.example.child_protection.enums.BooleanEnums;
import com.example.child_protection.enums.CardStatesEnums;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import lombok.Setter;

/**
 * 儿保卡号查询请求DTO
 * @date 2018-11-1
 * @author Biz
 */
@Getter
@Setter
public class CardRequestDTO extends BaseQueryRequestDTO {

    /**
     * 卡号
     *
     * @mbggenerated
     */
    @ApiParam(value = "卡号")
    private String cardNo;

    /**
     * 状态
     *
     * @mbggenerated
     */
    @ApiParam(value = "状态")
    private CardStatesEnums states;

    /**
     * 是否制卡(实体卡)
     *
     * @mbggenerated
     */
    @ApiParam(value = "是否制成实体卡")
    private BooleanEnums isMadeCard;

    /**
     * 批次号
     *
     * @mbggenerated
     */
    @ApiParam(value = "批次号（模糊查询）")
    private String batchNo;
    public void valid(){

    }
    public boolean isValidGid() {

        return false;
    }

}
